package com.zdy.im.user.vo.response;


import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.common.data.BaseEntity;

/**
* @ClassName: ImMessageReadResponseVo.java
* @Description: 消息状态表的数据交互处理类
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
* @version V1.0.0
* <p>
* ----------------------------------------------------------------------------
*  modifyer    modifyTime                 comment
*
* ----------------------------------------------------------------------------
* </p>
*/
public class ImMessageReadResponseVo  extends BaseEntity implements Serializable {




 		/** userId 用户id  */
 		@ApiDesc(value = "用户id", required = 0)
 		@ExcelProperty(value = "用户id")
 		private long userId;

 		/** messageId 用户id，群组id  */
 		@ApiDesc(value = "用户id，群组id", required = 0)
 		@ExcelProperty(value = "用户id，群组id")
 		private long messageId;

 		/** globalId 全局消息id  */
 		@ApiDesc(value = "全局消息id", required = 0)
 		@ExcelProperty(value = "全局消息id")
 		private long globalId;

 		/** type 1用户 0 群组  */
 		@ApiDesc(value = "1用户 0 群组", required = 0)
 		@ExcelProperty(value = "1用户 0 群组")
 		private int type;


    public static ImMessageReadResponseVo build(){
        return new ImMessageReadResponseVo();
    }

    
     		public void setUserId( long userId){
 		 		this.userId = userId ; 
 		 		}
 		public ImMessageReadResponseVo toUserId( long userId){
 		 		this.userId = userId ; 
 		 		 return this ;
 		}

 		public long getUserId(){
 		 		return this.userId;
 		}
    
     		public void setMessageId( long messageId){
 		 		this.messageId = messageId ; 
 		 		}
 		public ImMessageReadResponseVo toMessageId( long messageId){
 		 		this.messageId = messageId ; 
 		 		 return this ;
 		}

 		public long getMessageId(){
 		 		return this.messageId;
 		}
    
     		public void setGlobalId( long globalId){
 		 		this.globalId = globalId ; 
 		 		}
 		public ImMessageReadResponseVo toGlobalId( long globalId){
 		 		this.globalId = globalId ; 
 		 		 return this ;
 		}

 		public long getGlobalId(){
 		 		return this.globalId;
 		}
    
     		public void setType( int type){
 		 		this.type = type ; 
 		 		}
 		public ImMessageReadResponseVo toType( int type){
 		 		this.type = type ; 
 		 		 return this ;
 		}

 		public int getType(){
 		 		return this.type;
 		}
    






}
